package org.jeecg.modules.com.pointoperation.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.persistence.Column;

/**
 * @Description: userspoint
 * @Author: jeecg-boot
 * @Date:   2020-05-05
 * @Version: V1.0
 */
@Data
@TableName("userspoint")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="userspoint对象", description="userspoint")
public class Userspoint implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "id")
    private Integer id;
	/**@uiname{open_id};@listpos{1};@query;*/
	@Excel(name = "@uiname{open_id};@listpos{1};@query;", width = 15)
    @ApiModelProperty(value = "@uiname{open_id};@listpos{1};@query;")
    private String openid;
	/**@uiname{积分总数};@listpos{2};@query;*/
	@Excel(name = "@uiname{积分总数};@listpos{2};@query;", width = 15)
    @ApiModelProperty(value = "@uiname{积分总数};@listpos{2};@query;")
    private Integer pointtotal;
	/**@uiname{用户姓名};@listpos{3};@query;*/
	@Excel(name = "@uiname{用户姓名};@listpos{3};@query;", width = 15)
    @ApiModelProperty(value = "@uiname{用户姓名};@listpos{3};@query;")
    private String name;
	/**appid*/
	@Excel(name = "appid", width = 15)
    @ApiModelProperty(value = "appid")
    private String appid;
	/**@uiname{渠道};@listpos{4};@query;*/
	@Excel(name = "@uiname{渠道};@listpos{4};@query;", width = 15)
    @ApiModelProperty(value = "@uiname{渠道};@listpos{4};@query;")
    private String channel;
	/**@uiname{创建时间};@listpos{5};@query;*/
	@Excel(name = "@uiname{创建时间};@listpos{5};@query;", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "@uiname{创建时间};@listpos{5};@query;")
    @TableField("createtime")
    private Date createtime;
	/**@uiname{变更时间};@listpos{6};@query;*/
	@Excel(name = "@uiname{变更时间};@listpos{6};@query;", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "@uiname{变更时间};@listpos{6};@query;")
    private Date lastmodifytime;
	/**param01*/
	@Excel(name = "param01", width = 15)
    @ApiModelProperty(value = "param01")
    private String param01;
	/**param02*/
	@Excel(name = "param02", width = 15)
    @ApiModelProperty(value = "param02")
    private String param02;
	/**phonenumber*/
	@Excel(name = "phonenumber", width = 15)
    @ApiModelProperty(value = "phonenumber")
    private String phonenumber;
	/**openid2*/
	@Excel(name = "openid2", width = 15)
    @ApiModelProperty(value = "openid2")
    private String openid2;
}
